package com.woniu.mapper;

import com.woniu.entity.Registration;

import com.woniu.dto.RegisDto;
import com.woniu.entity.Registration;
import com.woniu.vo.RegistrationVO;

import java.util.List;

/**
* @author hzw
* @description 针对表【registration(门诊表挂号表)】的数据库操作Mapper
* @createDate 2025-10-29 15:46:41
* @Entity com.woniu.entity.Registration
*/
public interface RegistrationMapper {
    List< Registration> findAll(RegisDto regisDto);

    Integer deleteByPrimaryKey(Integer id);


    Integer insertSelective(Registration record);

    Registration selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Registration record);

    Integer updateByPrimaryKey(Registration record);
//    List<RegistrationVO> findAll();
    Registration findByRsNo(String rsNo);

    RegistrationVO findByNo(String rsNo);
    List<RegistrationVO> findByPatientId(Integer patientId);

}
